<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:81:"E:\phpStudy\PHPTutorial\WWW\ren\public/../application/index\view\staff\lists.html";i:1541474678;s:71:"E:\phpStudy\PHPTutorial\WWW\ren\application\index\view\public\base.html";i:1541474678;s:71:"E:\phpStudy\PHPTutorial\WWW\ren\application\index\view\public\meta.html";i:1541488202;s:70:"E:\phpStudy\PHPTutorial\WWW\ren\application\index\view\public\nav.html";i:1541474678;s:71:"E:\phpStudy\PHPTutorial\WWW\ren\application\index\view\public\page.html";i:1541474678;s:69:"E:\phpStudy\PHPTutorial\WWW\ren\application\index\view\public\js.html";i:1541488039;}*/ ?>
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
    <title>ThinkPHP5.0</title>

    <meta name="description" content="Dashboard">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--Basic Styles-->
    <link href="/ren/public/static/style/bootstrap.css" rel="stylesheet">
    <link href="/ren/public/static/style/font-awesome.css" rel="stylesheet">
    <link href="/ren/public/static/style/weather-icons.css" rel="stylesheet">

    <!--Beyond styles-->
    <link id="beyond-link" href="/ren/public/static/style/beyond.css" rel="stylesheet" type="text/css">
    <link href="/ren/public/static/style/demo.css" rel="stylesheet">
    <link href="/ren/public/static/style/typicons.css" rel="stylesheet">
    <link href="/ren/public/static/style/animate.css" rel="stylesheet">
<style>
    .addbtn_wrap{
        position: relative;
    }

    /*添加图片按钮*/
    .addbtn{
        position: absolute;
    }
    /*所有图片div包裹*/
    .img_wrap{
        width:600px;
        margin-top: 40px;
        float: left;
        margin-bottom: 40px;
    }


    .pic_wrap{
        width: 180px;
        height: 160px;
        float: left;
        position: relative;
        margin: 5px;
    }


    .img{
        width: 180px;
        height: 160px;
        float: left;
    }

    .delete{
        width: 180px;
        height: 160px;
        position: absolute;
        display: none;
        border-radius: 6px;
    }

    .delete img{
        float: right;
    }

</style>
	    
    
</head>
<body>
	<!-- 头部 -->
	<div class="navbar">
    <div class="navbar-inner">
        <div class="navbar-container">
            <!-- Navbar Barnd -->
            <div class="navbar-header pull-left">
                <a href="#" class="navbar-brand">
                    <small>
                            <img src="/ren/public/static/images/logo.png" alt="">
                        </small>
                </a>
            </div>
            <!-- /Navbar Barnd -->
            <!-- Sidebar Collapse -->
            <div class="sidebar-collapse" id="sidebar-collapse">
                <i class="collapse-icon fa fa-bars"></i>
            </div>
            <!-- /Sidebar Collapse -->
            <!-- Account Area and Settings -->
            <div class="navbar-header pull-right">
                <div class="navbar-account">
                    <ul class="account-area">
                        <li>
                            <a class="login-area dropdown-toggle" data-toggle="dropdown">
                                <div class="avatar" title="View your public profile">
                                    <img src="/ren/public/static/images/adam-jansen.jpg">
                                </div>
                                <section>
                                    <h2><span class="profile"><span>admin</span></span></h2>
                                </section>
                            </a>
                            <!--Login Area Dropdown-->
                            <ul class="pull-right dropdown-menu dropdown-arrow dropdown-login-area">
                                <li class="username"><a>David Stevenson</a></li>
                                <li class="dropdown-footer">
                                    <a href="/admin/user/logout.html">
                                            退出登录
                                        </a>
                                </li>
                                <li class="dropdown-footer">
                                    <a href="/admin/user/changePwd.html">
                                            修改密码
                                        </a>
                                </li>
                            </ul>
                            <!--/Login Area Dropdown-->
                        </li>
                        <!-- /Account Area -->
                        <!--Note: notice that setting div must start right after account area list.
                            no space must be between these elements-->
                        <!-- Settings -->
                    </ul>
                </div>
            </div>
            <!-- /Account Area and Settings -->
        </div>
    </div>
</div>

	<!-- /头部 -->
	
	<div class="main-container container-fluid">
		<div class="page-container">
			            <!-- Page Sidebar -->
<div class="page-sidebar" id="sidebar">
                <!-- Page Sidebar Header-->
                <div class="sidebar-header-wrapper">
                    <input class="searchinput" type="text">
                    <i class="searchicon fa fa-search"></i>
                    <div class="searchhelper">Search Reports, Charts, Emails or Notifications</div>
                </div>
                <!-- /Page Sidebar Header -->
                <!-- Sidebar Menu -->
                <ul class="nav sidebar-menu">
                    <!--Dashboard-->
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-home"></i>
                            <span class="menu-text">公司管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('Company/lists'); ?>">
                                    <span class="menu-text">
                                        公司列表
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-file-text"></i>
                            <span class="menu-text">区域管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('Area/lists'); ?>">
                                    <span class="menu-text">
                                    区域列表
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-file-text"></i>
                            <span class="menu-text">风格管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('Style/lists'); ?>">
                                    <span class="menu-text">
                                    风格列表
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-file-text"></i>
                            <span class="menu-text">类型管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('Type/lists'); ?>">
                                    <span class="menu-text">
                                    类型列表
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-users"></i>
                            <span class="menu-text">员工管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('Staff/lists'); ?>">
                                    <span class="menu-text">
                                        员工列表
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-user"></i>
                            <span class="menu-text">案例管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('Cases/lists'); ?>">
                                    <span class="menu-text">
                                        案例列表信息                                </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>

                        </ul>                            
                    </li>    
                </ul>
                <!-- /Sidebar Menu -->
            </div>
            
            <!-- /Page Sidebar -->
            <!-- Page Content -->
            
<div class="page-content">
    <!-- Page Breadcrumb -->
    <div class="page-breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <a href="#">员工列表</a>
            </li>
            <li class="active">员工列表管理</li>
        </ul>
    </div>
    <!-- /Page Breadcrumb -->

    <!-- Page Body -->
    <div class="page-body">

        <button type="button" tooltip="添加员工信息" class="btn btn-sm btn-azure btn-addon" onClick="javascript:window.location.href = 'add.html'"> <i class="fa fa-plus"></i> Add
        </button>
        <div class="row">
            <div class="col-lg-12 col-sm-12 col-xs-12">
                <div class="widget">
                    <div class="widget-body">
                        <div class="flip-scroll">
                            <table class="table table-bordered table-hover">
                                <thead class="">
                                <tr>
                                    <th class="text-center">ID</th>
                                    <th class="text-center">员工姓名</th>
                                    <th class="text-center">性别</th>
                                    <th class="text-center">电话号码</th>
                                    <th class="text-center">公司</th>
                                    <th class="text-center">状态</th>
                                    <th class="text-center">操作</th>
                                </tr>
                                </thead>
                                <?php if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$value): $mod = ($i % 2 );++$i;?>
                                <tbody>
                                <tr>
                                    <td align="center"><?php echo $value['id']; ?></td>
                                    <td align="center"><?php echo $value['staffname']; ?></td>
                                    <td align="center"><?php echo $value['sex']; ?></td>
                                    <td align="center"><?php echo $value['phone']; ?></td>
                                    <td align="center"><?php echo $value['name']; ?></td>
                                    <td align="center">
                                        <?php if($value['status'] == -1): ?>
                                        不可用
                                        <?php elseif($value['status'] == 0): ?>
                                        空闲
                                        <?php else: ?>
                                        有任务
                                        <?php endif; ?>
                                    </td>
                                    <td align="center">
                                        <a href="<?php echo url('Staff/edit',array('id'=>$value['id'])); ?>" class="btn btn-primary btn-sm shiny">
                                            <i class="fa fa-edit"></i>编辑
                                        </a>
                                        <a href="#" onClick="warning('确实要删除吗', '<?php echo url('Staff/del',array('id'=>$value['id'])); ?>')" class="btn btn-danger btn-sm shiny">
                                            <i class="fa fa-trash-o"></i> 删除
                                        </a>
                                    </td>
                                </tr>
                                </tbody>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </table>
                        </div>
                        <div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
    <!-- /Page Body -->
</div>

            <!-- /Page Content -->
		</div>	
	</div>

	    <!--Basic Scripts-->
    
            <script src="/ren/public/static/style/jquery_002.js"></script>
    <script src="/ren/public/static/style/bootstrap.js"></script>
    <script src="/ren/public/static/style/jquery.js"></script>
    <!--Beyond Scripts-->
    <script src="/ren/public/static/style/beyond.js"></script>
<script src="/ren/public/static/ueditor/ueditor.config.js" type="text/javascript">
</script>
<script src="/ren/public/static/ueditor/ueditor.all.min.js" type="text/javascript">
</script>
<script charset="utf-8" src="/ren/public/static/ueditor/lang/zh-cn/zh-cn.js" type="text/javascript">
</script>
<script type="text/javascript">
    var ue = UE.getEditor('content', {
        toolbars: [[
            'fullscreen', 'source', '|', 'undo', 'redo', '|',
            'bold', 'italic', 'underline','indent', '|',
            'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase'
         , '|',
            'simpleupload', 'insertimage', 'emotion',
        ]]
    });
</script>

            


</body></html>